//
//  FLLBaseModel.m
//  FLLGodOfCookery
//
//  Created by LL.F on 16/8/27.
//  Copyright © 2016年 LL.F. All rights reserved.
//

#import "FLLBaseModel.h"

@implementation FLLBaseModel
- (instancetype)initWithDic:(NSDictionary *)dic
{
    
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}
+ (FLLBaseModel *)modelWithDic:(NSDictionary *)dic
{
    
    return [[self alloc] initWithDic:dic];
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
    
}
- (id)valueForUndefinedKey:(NSString *)key
{
    
    return nil;
}

@end
